package com.newture.lxz.services;

import com.github.pagehelper.PageInfo;
import com.newture.lxz.db.model.LdCourtAddress;
import com.newture.lxz.db.model.LdCourtAddressWithBLOBs;

import java.util.List;

/**
 * @author xiao.hu
 * @date 2021-09-25
 * @apiNote
 */
public interface ICourtAddressSrv {

    PageInfo<LdCourtAddress> query(int pageNumber, int pageSize, String name, String[] expectColumns);

    LdCourtAddress findById(int id, String[] columns);

    int insert(LdCourtAddressWithBLOBs obj);

    int insertSelective(LdCourtAddressWithBLOBs obj);

    void batchInsertSelective(List<LdCourtAddressWithBLOBs> list);

    int update(int id, int version, LdCourtAddressWithBLOBs obj);

    int remove(int id, int version);
}
